package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.Result;
import com.example.domain.TableData;
import com.example.domain.User;

import javax.servlet.http.HttpSession;

public interface UserService extends IService<User> {

    public Result findByUsernameAndPassword(String username, String password, HttpSession session);

    public TableData<User> getPage(Integer page, Integer limit, String username);

    public Result register(String username, String password);
}
